package com.fanchuan.uzx;

import com.googlecode.androidannotations.annotations.EActivity;
import com.googlecode.androidannotations.annotations.Fullscreen;
import com.googlecode.androidannotations.annotations.NoTitle;
import com.googlecode.androidannotations.annotations.UiThread;

import android.os.Bundle;
import android.app.Activity;

@EActivity(R.layout.activity_splash)
@Fullscreen
@NoTitle
public class SplashActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		finishSplash();
	}

	@UiThread(delay=3000) 
	void finishSplash() {
		MainActivity_.intent(this).start();
		finish();
		overridePendingTransition(R.anim.gb_fade_in, R.anim.gb_fade_out);
	}

}
